package j03;

import java.util.Scanner;

public class J03_LeapYear {

	public static void main(String[] args) {
		Scanner sc = null;
		int nowyear = 2014;
		sc = new Scanner(System.in);

		System.out.println("현재 연도를 입력하시오.");
		nowyear = sc.nextInt();
		if ((nowyear % 4) == 0 && ((nowyear % 100) != 0)
				|| (nowyear % 400) == 0) {
			System.out.println("윤년입니다.");
		} else {
			System.out.println("윤년이 아닙니다.");
		}
		sc.close();
	}

}
